<include file="public:header"/><br>
<!--会员列表-->
<div class="pad_lr_10">
    <form name="searchform" method="get">
        <table width="100%" cellspacing="0" class="search_form">
            <tbody>
            <tr>
                <td>
                    <div class="explain_col">
                        <input type="hidden" name="g" value="admin"/>
                        <input type="hidden" name="m" value="commission_summary"/>
                        <input type="hidden" name="a" value="index"/>
                        <input type="hidden" name="menuid" value="{$menuid}"/>
                        <input type="hidden" name="type" value="{$search.type}"/>
                        &nbsp;全民经纪人编号 :
                        <input name="tgroup_5" type="text" class="input-text" size="15" value="{$search.tgroup_5}"/>
                        &nbsp;全民经纪人名称 :
                        <input name="username" type="text" class="input-text" size="15" value="{$search.username}"/>
                        <!-- &nbsp;真实名称 :
                        <input name="realname" type="text" class="input-text" size="15" value="{$search.realname}" /> -->
                        <!-- &nbsp;状态 :
                        <select name="status">
                            <option value="-1">全部</option>
                            <option value="1" <if condition="$search['status'] eq 1">selected="selected"</if>>已提现</option>
                            <option value="2" <if condition="$search['status'] eq 2">selected="selected"</if>>未通过</option>
                            <option value="0" <if condition="$search['status'] eq 0">selected="selected"</if>>未处理</option>
                        </select> -->
                        &nbsp;&nbsp;团队名称 :
                      <span class="select_shelter"> 
                                <select name="topkey" class="order_select " style="width:112px;">
                                    <option value="">团队名称(全部)</option>
                                    <volist name="topkey" id="val">
                                        <if condition="$key egt 0">
                                            <option value="{$val}"
                                            <if condition="$search.topkey eq $val">selected</if>
                                            >{$val}</option>
                                        </if>
                                    </volist>
                                </select>
                                </span>


                        <span>时间：</span><input type="text" name="stime" class="J_date_picker order_text short"
                                               value="{$search[stime]}" style="width:100px"> <span class="">~</span>
                        <input type="text" name="etime" class="J_date_picker order_text short" value="{$search[etime]}"
                               style="width:100px">

                        <input type="submit" name="search" class="btn" value="搜索"/>
                        <input type="submit" name="export" class="btn mr10" value="导出到Excel文件">
                    </div>
                </td>
            </tr>
            </tbody>
        </table>
    </form>

    <div class="J_tablelist table_list" data-acturi="">
        <table width="100%" cellspacing="0">
            <thead>
            <tr>
                <th width="120" align="center">日期</th>
                <th width="100" align="center">全民经纪人编号</th>
                <th width="100" align="center">全民经纪人名称</th>
                <th width="100" align="center">经纪人名称</th>
                <th width="120" align="center">订单用户账号</th>
                <th width="120" align="center">订单用户手机号</th>
                <th width="100" align="center">订单金额</th>
                <th width="100" align="center">返佣金额</th>
                <th width="120">代理商名称</th>
                <th width="120">经销商名称</th>
                <th width="120">总经销商名称</th>
                <th width="50">团队名称</th>
                <th width="100" align="center">备注</th>

            </tr>
            </thead>
            <tbody>
            <volist name="list" id="val">
                <tr>
                    <td align="center">{$val.add_time}</td>
                    <td align="center">{$val.id}</td>
                    <td align="center">{$val.username}</td>
                    <td align="center">{$val.tgroup_4_name}</td>
                    <td align="center">{$val.uname}</td>
                    <td align="center">{$val.uname|get_tele_by_username}</td>
                    <td align="center">{$val.prices}</td>
                    <td align="center">{$val.price}</td>
                    <td align="center">{$val.tgroup_3_name}</td>
                    <td align="center">{$val.tgroup_2_name}</td>
                    <td align="center">{$val.tgroup_1_name}</td>
                    <td align="center">{$val.topkey}</td>
                    <td align="center">{$val.remark}</td>

                </tr>
            </volist>

            <tr>
                <td align="center">总计:</td>
                <td align="center"></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td align="center">{$sum}</td>
                <td align="center">{$sum1}</td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>

            </tr>
            </tbody>
        </table>
        <div class="btn_wrap_fixed">
            <!-- <label class="select_all"><input type="checkbox" name="checkall" class="J_checkall">{:L('select_all')}/{:L('cancel')}</label>
            <input type="button" class="btn" data-tdtype="batch_action" data-acttype="ajax" data-uri="{:U('user_recharge/delete')}" data-name="id" data-msg="{:L('confirm_delete')}" value="{:L('delete')}" /> -->
            <div id="pages">{$page}</div>
        </div>

    </div>
</div>
<include file="public:footer"/>
</body>
</html>
<link rel="stylesheet" type="text/css" href="__STATIC__/js/calendar/calendar-blue.css"/>
<script type="text/javascript" src="__STATIC__/js/calendar/calendar.js"></script>
